-- GENERATED SPELL FOR [Rex Ashil] --


function spell0_14475(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(12097,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14475', 20282, 1)
end

function Sorts_14475(pUnit, Event)
local choix_sorts_14475 = math.random(0, 0)
if choix_sorts_14475 == 0 then
pUnit:RegisterEvent('spell0_14475', 1, 1)
end
end

function mob14475_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14475', math.random(1500, 3000), 1)
end

function mob14475_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14475_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14475_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14475, 1, 'mob14475_Action')
RegisterUnitEvent(14475, 2, 'mob14475_Leave')
RegisterUnitEvent(14475, 3, 'mob14475_Kill')
RegisterUnitEvent(14475, 4, 'mob14475_Die')
